<ion-view class="checkConfirm-result" view-title="检查结果">
    <ion-header-bar class="bar-subheader" style="height: 136px;">
        <im-card-header card-title="容器"></im-card-header>
        <div style="padding: 10px;height:40px;font-size: 18px;">{{data.container.Name}}</div>
        <im-card-header card-title="部门"></im-card-header>
        <div style="padding: 10px;height:40px;font-size: 18px;">{{data.department.Name}}</div>
    </ion-header-bar>
    <ion-content>
        <div>
            <div class="im-card-header">
                <div class="im-card-title ng-binding">合格</div>
                <div class="im-card-custum"></div>
            </div>
            <div class="row im-grid-header">
                <div class="col im-record-column">型号(需求数量)</div>
                <div class="col im-record-column">检查数量</div>
            </div>
            <div class="my-grid-body">
                <div class="row im-grid-record" ng-repeat="data in data.scanQualifiedArray">
                    <div class="col im-record-column">{{data.key}}</div>
                    <div class="col im-record-column">{{data.checkNum}}</div>
                </div>
            </div>
        </div>
        <div>
            <div class="im-card-header">
                <div class="im-card-title ng-binding">不合格</div>
                <div class="im-card-custum"></div>
            </div>
            <div class="row im-grid-header">
                <div class="col im-record-column">型号</div>
                <div class="col im-record-column">芯片ID</div>
            </div>
            <div class="my-grid-body">
                <div class="row im-grid-record" ng-repeat="data in data.scanUnQualifiedArray">
                    <div class="col im-record-column">{{data.ItemMasterCode}}</div>
                    <div class="col im-record-column">{{data.Barcode}}</div>
                </div>
            </div>
        </div>
    </ion-content>
    <ion-footer-bar>
        <im-pull-right>
            <button class="button demo-button-accept" ng-click="confirm()">确认</button>
        </im-pull-right>
    </ion-footer-bar>
</ion-view>
